(function(){
	var server = new org.eclipse.jetty.server.Server(Jse.conf.get("server.port")||80);
			var connector = new org.eclipse.jetty.server.ServerConnector(server);
			server.addConnector(connector);

			// Add the CrossOriginHandler to protect from CSRF attacks.
	//		var crossOriginHandler = new org.eclipse.jetty.server.handler.CrossOriginHandler();
	//		crossOriginHandler.setAllowedOriginPatterns(Set.of("http://127.0.0.1"));
	//		crossOriginHandler.setAllowCredentials(true);
			var context = new org.eclipse.jetty.ee10.servlet.ServletContextHandler();
			context.setContextPath("/");
	//		crossOriginHandler.setHandler(context);
	//		server.setHandler(crossOriginHandler);
			server.setHandler(context);
			// Create a ServletContextHandler with contextPath.
			context.addServlet(com.jse.jakarta.JseServlet.class, "/");
			// Link the context to the server.
			server.start();
})()